package  
{
	import net.flashpunk.Entity;
	import net.flashpunk.graphics.Image;
	
	/**
	 * ...
	 * @author Donatello
	 */
	public class Back extends Entity
	{
		[Embed(source = "img/Gotham_City.png")] private const GOTHAM_IMG:Class;
		[Embed(source = "img/dreamatorioum.png")] private const DREAM_IMG:Class;
		[Embed(source = "img/inspecback.png")] private const INSP_IMG:Class;
		private var backIMG:Image;
		
		
		public function Back() 
		{
			
			backIMG = new Image(DREAM_IMG);
			
			graphic = backIMG;
			
			x = 0;
			y = 0;
		}
		
		
		public function Change(i:int):void
		{
			switch(i)
			{
			case 0:	backIMG = new Image(DREAM_IMG); break;
			case 1:	backIMG = new Image(GOTHAM_IMG); break;
			case 2:	backIMG = new Image(INSP_IMG); break;
			}
			
			graphic = backIMG;
		}
	}

}